package com.kingzoder.food.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kingzoder.food.common.base.LogicDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author ZoderKing
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("recipe_step")
public class RecipeStep extends LogicDO {
    /**
     * 步骤ID，自增主键
     */
    private Long id;
    /**
     * 关联的食谱ID
     */
    private Long recipeId;
    /**
     * 步骤顺序（1,2,3...）
     */
    private Integer stepOrder;
    /**
     * 步骤描述
     */
    private String description;
    /**
     * 步骤图片URL
     */
    private String imageUrl;
}

